package com.zhima.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author : 芝麻
 * @date : 2023-02-10 09:05
 **/
@ConfigurationProperties("zhima.minio")
public class ZhimaMinioProperties {
    /**
     * minio服务器地址
     */
    private String endpoint;
    /**
     * 登录名
     */
    private String accessKey;
    /**
     * 登录密码
     */
    private String secretKey;
    /**
     * 分块文件的文件夹名称
     */
    private String chunkFolderName = "chunk";

    public String getChunkFolderName() {
        return chunkFolderName;
    }

    public void setChunkFolderName(String chunkFolderName) {
        this.chunkFolderName = chunkFolderName;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
}
